/**
 * @description 高亮说明文字
 * @author muisuidaan
 */
 import React from 'react'
 import styled from 'styled-components'
 interface InfoProps {
   [key:string]:string|number|null;
 }
 interface titleProps {
   className: string // 类名
   title?: string // 小标题，从这里传入
   style?:React.CSSProperties
   eventInfo?:InfoProps;
 }
 


 
 
 
 const Content = (props: titleProps) => {
   const { className,style,title,eventInfo } = props;
   console.log('eventInfo',eventInfo,eventInfo.fundType)
   return (
     <div className={className} style={style} >{title||`*修改后的参数将会在第二天正式生效，并更新所有历史提醒内容。${eventInfo?.fundType ==='com'?'您也可以在组合名单页面手动更新数据。':''}`}</div>
   )
 }
 export const RedTitle = styled(Content)`
    line-height: 18px;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    font-size: 13px;
    color: #E64A00;
    margin-left: 12px;

`

 